package base.exa13;

/**
 * 13.面向抽象编程，上转型对象及其操作权限，多态性，抽象类和方法
 */
public class AbstractStudy {

    public static void main(String[] args) {
        ChinesePeople chinesePeople = new ChinesePeople();
        chinesePeople.eat();
        chinesePeople.sayOne();
        AbstractClassStudy.ProtectedClass protectedClass = new AbstractClassStudy.ProtectedClass();
        AbstractClassStudy.friendClass friendClass = new AbstractClassStudy.friendClass();

    }


}
